package com.macro.admin.service;



import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface CaptchaService {

    /**
     * 获取图片验证码
     * @param request
     * @param response
     */
    void captcha(HttpServletRequest request, HttpServletResponse response);

    /**
     * 获取短信验证码
     * @param phone
     * @return
     */
    int SmsCode(String phone);
}
